Ext.define('Admin.model.user.User', {
    extend: 'Admin.model.Base',

    fields: [{
            name: 'id'
        }, {
            type: 'string',
            name: 'fullname'
        },
        {
            type: 'string',
            name: 'sex'
        },
        {
            type: 'int',
            name: 'age'
        },
        {
            type: 'string',
            name: 'email'
        },
        {
            type: 'string',
            name: 'phone'
        },
        {
            type: 'string',
            name: 'address'
        },
        {
            type: 'string',
            name: 'cover'
        },
        {
            type: 'string',
            name: 'dept'
        },
        {
            name: 'deptId'
        },
        {
            type: 'string',
            name: 'job'
        },
        {
            name: 'role'
        },
        {
            type: 'date',
            name: 'birthday'
        },
        {
            type: 'date',
            name: 'enterTime'
        }
    ]
});